package com.ruoyi.project.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class SiyuQuery extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 进件单号 */
    private Integer queryId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证 */
    @Excel(name = "身份证")
    private String cardNo;

    /** 手机号 */
    @Excel(name = "手机号")
    private String tel;

    /** 手机号 */
    @Excel(name = "评分")
    private String score;

    /** 手机号 */
    @Excel(name = "三要素认证")
    private String threeElmentAuth;

    /** 手机号 */
    @Excel(name = "决策")
    private String decision;

    /** 更多关键字 */
    @Excel(name = "更多关键字")
    private String moreKeyword;

    /** 更多信息 */
    @Excel(name = "更多信息")
    private String moreInfo;

    /** 校验码 */
    @Excel(name = "校验码")
    private String authCode;

    /** 预留字段（快速查询/邀请查询） */
    @Excel(name = "预留字段", readConverterExp = "快速查询/邀请查询")
    private String sourceType;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String delFlag;

    /** 产品ID */
    @TableField(exist = false)
    private Integer productId;

    @TableField(exist = false)
    private Long parent;

    public SiyuQuery() {
    }

    public SiyuQuery(Integer queryId, String moreKeyword) {
        this.queryId = queryId;
        this.moreKeyword = moreKeyword;
    }

    public SiyuQuery(String name, String cardNo) {
        this.name = name;
        this.cardNo = cardNo;
    }

}
